package com.taoym.voucher.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @coder taoym
 * @datetime 2021/8/27 17:04
 * @desc
 */
@Data
@TableName(value = "xcx_user_info")
public class XcxUserInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户uid
     */
    @TableField(value = "`uid`")
    private String uid;

    /**
     * 用户昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 头像
     */
    @TableField(value = "avatar_url")
    private String avatarUrl;

    /**
     * 用户加密后的openID
     */
    @TableField(value = "open_id")
    private String openId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 用户的支付宝
     */
    @TableField(value = "zfb")
    private String zfb;

    /**
     * 用户支付宝绑定的姓名
     */
    @TableField(value = "zfb_name")
    private String zfbName;

    /**
     * 用户邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 是否为正式用户 0.不是 1.是
     */
    @TableField(value = "formal")
    private Integer formal;

    /**
     * 团长uid
     */
    @TableField(value = "chief_uid")
    private String chiefUid;

    private static final long serialVersionUID = 1L;
}
